package net.csdn.business.common.domain.request.oauth;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 更新refreshToken信息对象DTO oauth_refresh_token
 * 
 * @author zhangyl
 * @date 2022-11-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UpdateOauthRefreshTokenDTO implements Serializable
{

    private static final long serialVersionUID = 1L;

    /** 分布式id */
    private String objectId;

    /** tokenId */
    private String tokenId;

    /** 用户名 */
    private String userName;

    /** clientId */
    private String clientId;

    /** 序列化后的token信息 */
    private byte[] token;

    /** 序列化后的授权信息 */
    private byte[] authentication;
}
